package com.yami.shop.personnft.common.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class SubRecprdVO implements Serializable {

    @Schema(description = "批次号")
    private Integer batchId;
    @Schema(description = "用户昵称")
    private String nickName;
    @Schema(description = "店铺名称")
    private String shopName;
    @Schema(description = "产品名称")
    private String productName;
    @Schema(description = "成交数量")
    private Integer actualCount;
    @Schema(description = "成交货款金额")
    private BigDecimal actualAmount;
    @Schema(description = "成交总手续费")
    private BigDecimal actualCommissio;
    @Schema(description = "申购贷款")
    private BigDecimal subAmount;
    @Schema(description = "申购日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date subTime;
}
